package com.wkh.project.domain.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.wkh.project.domain.model.entity.MonitorDataEntity;
import com.wkh.project.domain.model.entity.MonitorDataMapEntity;
import com.wkh.project.domain.model.entity.MonitorFlowDesignerEntity;
import com.wkh.project.domain.model.valobj.MonitorTreeConfigVO;
import ognl.OgnlException;

import java.util.List;

/**
 * @author wangkehua
 */
public interface ILogAnalyticalService {

    /**
     * 解析日志
     * @param systemName
     * @param className
     * @param methodName
     * @param logList
     */
    void doAnalytical(String systemName, String className, String methodName, List<String> logList) throws OgnlException, JsonProcessingException;

    /**
     * 查询监控系统列表
     * @return
     */
    List<MonitorDataMapEntity> queryMonitorDataMapEntityList();

    /**
     * 查询监控流程数据
     * @param monitorId
     * @return
     */
    MonitorTreeConfigVO queryMonitorFlowData(String monitorId);

    /**
     * 查询监控具体数据
     * @param monitorDataEntity
     * @return
     */
    List<MonitorDataEntity> queryMonitorDataEntityList(MonitorDataEntity monitorDataEntity);

    /**
     * 修改监控流程数据
     * @param monitorFlowDesignerEntity
     */
    void updateMonitorFlowDesigner(MonitorFlowDesignerEntity monitorFlowDesignerEntity);
}
